package de.mhus.lib.mandala.attributes;

import de.mhus.lib.mandala.Attribute;
import de.mhus.lib.mandala.Response;

public class BooleanAttribute extends Attribute {
	
	private boolean startValue = false;

	public void renderBooleanExpression(Response out) {
		renderElementName(out);
	}

	public void renderBooleanFunction(Response out) {
		renderElementName(out);
		out.print("()");
	}
	
	public boolean isStartValue() {
		return startValue;
	}

	public void setStartValue(boolean startValue) {
		this.startValue = startValue;
	}

	protected void doRenderStartValue(Response out) {
		out.print(String.valueOf(startValue));
	}

}
